declare namespace com {
    class BaseProto {
        code: number;
        seq: number;
        head_name: number;
        body_name: number;
        body: any;
        constructor();
        static sequence: number;
        getStr(): string;
    }
}
declare namespace com {
    class LoginProto extends BaseProto {
        constructor();
        body: LoginProtoLogin;
    }
    class LoginProtoLogin {
        result: number;
        acc: string;
        pwd: string;
    }
}
declare namespace com {
    enum HeadName {
        login = 0,
        tadpole = 1,
    }
    enum LoginBody {
        login = 0,
        register = 1,
    }
    enum tadpoleBody {
        add_user = 0,
        remove_user = 1,
        move = 2,
    }
    enum Code {
        correct = 0,
        client = 1,
        server = 101,
        s_inquiring = 102,
        s_registering = 103,
        server_login_acc_null = 104,
    }
}
declare namespace com {
    class RegisterProto extends BaseProto {
        constructor();
        body: RegisterProtoRegister;
    }
    class RegisterProtoRegister {
        acc: string;
        pwd: string;
        email: string;
        firstName: string;
        lastName: string;
        lv: number;
    }
}
declare namespace com {
    class TadpoleProto extends BaseProto {
        constructor();
    }
}
